package com.huacx.service;

import java.util.List;
import java.util.Map;

import com.huacx.model.File;
import com.huacx.model.User;

public interface UserService {
	int deleteByPrimaryKey(Integer tId);

	int insert(User record);

	int insertSelective(User record);

	List<User> selectByPrimaryKey(Integer tId);
	
	List<User> selectAll();

	List<User> selectByPage(Map searchMap);
	
	int updateByPrimaryKeySelective(User record);

	int updateByPrimaryKey(User record);
	
	int allCount();
	
	int getPageCount(String searchMap);
	
	void addImgSrc(Map mp);
	
	List<File> getImgList();
	
	List<File> getImgListByName(String name);
	
	List<File> getImgListByGroup();
	
	String login(Map mp);
	
	String checkTel(String tel);
	
	List<User> selectByTel(String tel);
	
	int delImg(Map mp);
	
	String getRealAddr(Map mp);
	
	List<File> getImgListByNameGroup(String name);
	
}
